<?php
   @include_once("connect.php");

   $id=$_POST["id"];
   $gid=$_POST["gid"];
   $num=$_POST["num"];
if( $num>=1){

    $sql2 = "update `user_shoppingcar` set num = '$num'  where id = '$id' and  gid='$gid'";
    $result2=mysqli_query($conn,$sql2);
             
}
  

?>


